package com.dongdongshop.controller;

import com.dongdongshop.service.itemPageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("itempage")
public class itemPageController {


    @Autowired
    private itemPageService is;



    //生成详情页
    @RequestMapping("create")
    @ResponseBody
    public String create(Long id){

        is.create(id);

        return "ok";
    }

}
